package cn.hairui.fastms.core.bean;

import cn.hairui.fastms.core.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 字典代码表
 * </p>
 *
 * @author lihairui
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SDic对象", description = "字典代码表")
public class SDic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "字典名称")
    @TableField("DIC_NAME")
    private String dicName;

    @ApiModelProperty(value = "字典描述")
    @TableField("DIC_DESC")
    private String dicDesc;

    @ApiModelProperty(value = "代码")
    @TableField("KEY_CDE")
    private String keyCde;

    @ApiModelProperty(value = "代码描述")
    @TableField("KEY_DESC")
    private String keyDesc;

    @ApiModelProperty(value = "状态")
    @TableField("DIC_STS")
    @Dict(dictCode = "ZB_EFFECT_STATUS")
    private String dicSts;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private String updateTime;

    @ApiModelProperty(value = "模块")
    @TableField("MODULE")
    private String module;


}
